﻿using Idte.Common.ArtifactModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Idte.Accounting.Core
{
    public class Account : IValueDescriptor<decimal>
    {
        public string Name { get; set; }
        public decimal Value { get; set; }

        object IValueDescriptor.Value
        {
            get
            {
                return Value;
            }
            set
            {
                Value = (decimal)value;
            }
        }
    }
}
